<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Vue基本的用法</title>
        <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.js"></script>
    </head>

    <body>
       <div id="root">
         <p>{{title}}</p>
         <p>{{title.toUpperCase()}}</p>
         <a 
         v-bind:href="url" 
         a="100+100" 
         v-bind:b="100+100" 
         c="title"
         :d='title.toUpperCase()' >页面的跳转</a>
        </div>
         <script>
            Vue.config.productionTip = false;
            new Vue({
                el:'#root',
                data:{
                    title:'test',
                    url:'http://www.baidu.com',

                },
            });
         </script>
       
    </body>
</html>
